import numpy as np
arr = np.random.randint(1,100,size=(3,4))
print('3x4的原数组：\n',arr)
print('转置后4x3的数组:\n',arr.T)
print('变形后2x6的数组：\n',arr.reshape(2,6))